/** */
package co.com.umobile.service;

import co.com.umobile.domain.User;
import co.com.umobile.gui.LoginActivity;

/**
 * Interface that defined the methods by login. 
 * @author sergiogranada
 *
 */
public interface LoginServices {

	/**
	 * method responsible for user authentication the device.
	 * @param loginActivity activity.
	 * @param userName user identifier.
	 * @param password key of user.
	 */
	void authenticateuser(LoginActivity loginActivity, String userName, String password);

	/**
	 * gets the last user session.
	 * @return User.
	 */
	User getLastUserSession();
	
}
